<?php

	$sLink = isset($_GET['link']) ? $_GET['link'] : 'http://www.apple.com/';
	
	include_once('class.link.inc');
	
	$oSchedule = new LinkSchedule(2);
	$oSchedule->Start($sLink);
	
	$oStrictDomain = new StrictDomain();
	$oChildDomain = new ChildDomain();
	
	 $acceptable = (string)$oStrictDomain | (string)$oChildDomain;
	
	if((string)$oChildDomain & $acceptable) {
		echo "YES!!!";
	} else {
		echo "NO.";
	}
?>